<?php

function html_album($album){
?>
<div class="item" style="background-image: url(<?php print htmlentities($album['image']['large']) ?>);">
	<h3><?php print htmlentities($album['name']) ?></h3>
<ul class="links"><li><a href="spotify:search:<?php print urlencode($album['name']) ?>">Spotify</a></li>
<li><a href="<?php print $album['url'] ?>">LastFM</a></li></ul>
	
	
</div>
<?php
}